package com.fastloan.mgt.manager.service;

import com.fastloan.mgt.manager.model.UserCard;
import com.fastloan.safe.mgt.user.model.vo.CmuUserVo;
import com.kawins.base.BaseService;
import com.fastloan.mgt.manager.model.Manager;
import com.kawins.result.ResultTo;

import java.util.List;
import java.util.Map;

/**
 * @author admins
 *         createTime 2017/11/16
 */
public interface ManagerService extends BaseService<Manager> {
    List<CmuUserVo> queryManagerAll(Map<String, Object> map);

    Integer insertList(List<Manager> managerList);


    ResultTo bindCard(String cardNum, String phone, String userId);

    List<UserCard> getUserCard(String userId);

    int deleteCard(UserCard userCard);
}
